﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using plas.cps.api.entity;
using plas.core;
using plas.core.entity;
//更新中
namespace plas.cps.api.services
{
    interface IRemindServices : IBaseService<RemindEntity>
    {
        /// <summary>
        /// 修改/保存
        /// </summary>
        /// <param name="reminds">提醒信息数组</param>
        /// 
        void Save(params RemindEntity[] reminds);


        /// <summary>
        /// 删除提醒信息
        /// </summary>
        /// <param name="pk">提醒主键数组</param>
        void Delete(params string[] pks);

        /// <summary>
        /// 通过id查询
        /// </summary>
        /// <param name="pk">提醒信息主键</param>
        RemindEntity QueryRemindById(string pk);
        /// <summary>
        /// 多条件查询
        /// </summary>
        /// <param name="pageNum">当前页</param>
        /// <param name="pageSize">每页记录数</param>
        /// <param name="remind">提醒实体</param>
        /// <param name="orderBy">键值对, 可以不赋值，参见实例 </param>
        /// <returns></returns>
        QueryResult<RemindEntity> QueryList(int pageNum, int pageSize, RemindEntity remind, Dictionary<string, string> orderBy);


    }
}
